﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic;
using System.Web;
using System.Web.Mvc;
using Bll;
using SimpComm;

namespace Ui.Controllers
{
    public class MubanController : Controller
    {
        //
        // GET: /Muban/

        public ActionResult Index()
        {
            int theMinCompId = 0;
            ViewBag.Message = string.Empty;
            try
            {
                var data = CompService.Instance.GetAEntity(p => p.ID > 0, new DynamicOrderby("ID", "desc"));
                if (data.Success)
                    theMinCompId = data.Data.ID;
            }
            catch (Exception ex)
            {
                ViewBag.Message = ex.ToString();
            }
            return View(new SimpComm.MS<int>(theMinCompId));
        }

        public ActionResult ChaIcon2()
        {
            return View();
        }
        public ActionResult ChaRate()
        {
            return View();
        }
        public ActionResult ChaRate2()
        {
            return View();
        }
        public ActionResult p1()
        {
            return View();
        }
        public ActionResult p2()
        {
            return View();
        }
        public ActionResult p3()
        {
            return View();
        }
        public ActionResult p4()
        {
            return View();
        }
        public ActionResult p5()
        {
            return View();
        }
        public ActionResult p6()
        {
            return View();
        }
        public ActionResult test()
        {
            return View();
        }
        public ActionResult testTooltip()
        {
            return View();
        }
        public ActionResult testBotton()
        {
            return View();
        }
        public ActionResult testCarousel()
        {
            return View();
        }
        public ActionResult testForm()
        {
            return View();
        }
        public ActionResult testIcons()
        {
            return View();
        }
        public ActionResult testMedia()
        {
            return View();
        }
        public ActionResult testNavs()
        {
            return View();
        }
        public ActionResult testOther()
        {
            return View();
        }
        public ActionResult ChaIcon()
        {
            return View();
        }
        public ActionResult ChaMessenger()
        {
            return View();
        }
        public ActionResult ChaText()
        {
            return View();
        }
        public ActionResult ChaSco()
        {
            return View();
        }
        public ActionResult ajaxhtml1()
        {
            return View();
        }
        public ActionResult ajaxhtml2()
        {
            return View();
        }
        public ActionResult ajaxhtml3()
        {
            return View();
        }
        public ActionResult ajaxhtml4()
        {
            return View();
        }
        public ActionResult admsucai()
        {
            return View();
        }
        public ActionResult ChaFormHelper()
        {
            return View();
        }
        public ActionResult ChaModal()
        {
            return View();
        }
        public ActionResult MyTest()
        {
            return View();
        }
    }
}
